{extend name="template/base" /}
{block name="content"}
<div class="page-container">
    <form class="form form-horizontal" id="form" method="post" action="{:\\think\\Request::instance()->baseUrl()}">
        <input type="hidden" name="id" value="{$vo.id ?? ''}">
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">姓名：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <input type="text" class="input-text" placeholder="姓名" name="name" value="{$vo.name ?? ''}" >
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">手机：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <input type="text" class="input-text" placeholder="手机" name="phone" value="{$vo.phone ?? ''}" >
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">身份证：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <input type="text" class="input-text" placeholder="身份证" name="id_card" value="{$vo.id_card ?? ''}" >
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <!--<div class="row cl">-->
            <!--<label class="form-label col-xs-3 col-sm-3">地址：</label>-->
            <!--<div class="formControls col-xs-6 col-sm-6">-->
                <!--<input type="text" class="input-text" placeholder="地址" name="adress" value="{$vo.adress ?? ''}" >-->
            <!--</div>-->
            <!--<div class="col-xs-3 col-sm-3"></div>-->
        <!--</div>-->
        <!--<div class="row cl">-->
            <!--<label class="form-label col-xs-3 col-sm-3">订单：</label>-->
            <!--<div class="formControls col-xs-6 col-sm-6">-->
                <!--<input type="text" class="input-text" placeholder="订单" name="oid" value="{$vo.oid ?? ''}" >-->
            <!--</div>-->
            <!--<div class="col-xs-3 col-sm-3"></div>-->
        <!--</div>-->
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">年龄：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <input type="text" class="input-text" placeholder="年龄" name="age" value="{$vo.age ?? ''}" >
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">性别：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <select name="sex" class="select">
                    <option value="">性别</option>
                    <option value="男" {eq name="vo.sex" value="男"} selected = "selected" {/eq} >男</option>
                    <option value="女"  {eq name="vo.sex" value="女"} selected = "selected" {/eq}>女</option>
                </select>
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">人员组：</label>
            <div class="formControls col-xs-6 col-sm-6">

                <select name="group" class="select">
                    <option value="" >人员组</option>
                    <option value="单人" {eq name="vo.group" value="单人"} selected = "selected" {/eq} >单人</option>
                    <option value="多人"  {eq name="vo.group" value="多人"} selected = "selected" {/eq}>多人</option>
                    <option value="家庭"  {eq name="vo.group" value="家庭"} selected = "selected" {/eq}>家庭</option>
                </select>
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">车调处理：</label>
            <div class="formControls col-xs-6 col-sm-6">

                <select name="vehicle_adjustment" class="select">
                    <option value="" >选择车调状态</option>
                    <option value="Pending disposal" {eq name="vo.vehicle_adjustment" value="Pending disposal"} selected = "selected" {/eq} >待处理</option>
                    <option value="Processed" {eq name="vo.vehicle_adjustment" value="Processed"} selected = "selected" {/eq}>已处理</option>
                </select>
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">房调处理：</label>
            <div class="formControls col-xs-6 col-sm-6">

                <select name="room_adjustment" class="select">
                    <option value="" >选择房调状态</option>
                    <option value="Pending disposal" {eq name="vo.room_adjustment" value="Pending disposal"} selected = "selected" {/eq} >待处理</option>
                    <option value="Processed" {eq name="vo.room_adjustment" value="Processed"} selected = "selected" {/eq}>已处理</option>
                </select>
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">住宿：</label>
            <div class="formControls col-xs-6 col-sm-6">

                <select name="isaccommodation" class="select">
                    <option value="" >选择住宿</option>
                    <option value="包含住宿" {eq name="vo.isaccommodation" value="包含住宿"} selected = "selected" {/eq} >包含住宿</option>
                    <option value="不包住宿"  {eq name="vo.isaccommodation" value="不包住宿"} selected = "selected" {/eq}>不包住宿</option>
                </select>
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">住宿备注：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <input type="text" class="input-text" placeholder="住宿备注" name="accommodation" value="{$vo.accommodation ?? ''}" >
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">备注：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <textarea class="textarea" rows='10' cols='30'name="remark">{$vo.remark ?? ''}</textarea>
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                <button type="submit" class="btn btn-primary radius">&nbsp;&nbsp;提交&nbsp;&nbsp;</button>
                <button type="button" class="btn btn-default radius ml-20" onClick="layer_close();">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
            </div>
        </div>
    </form>
</div>
{/block}
{block name="script"}
<script type="text/javascript" src="__LIB__/Validform/5.3.2/Validform.min.js"></script>
<script>
    $(function () {
;

        $('.skin-minimal input').iCheck({
            checkboxClass: 'icheckbox-blue',
            radioClass: 'iradio-blue',
            increaseArea: '20%'
        });

        $("#form").Validform({
            tiptype: 2,
            ajaxPost: true,
            showAllError: true,
            callback: function (ret){
                ajax_progress(ret);
            }
        });
    })
</script>
{/block}
